package com.ljf.admin.POJO.VO;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Auther: lijinfeng
 * @Date: 2022/5/2
 * @Description 描述: 表格分页对象
 */
@Data
@NoArgsConstructor
public class TableDataObject implements Serializable {

    /** 总记录数 */
    private long total;

    /** 列表数据 */
    private List<?> rows;


    public TableDataObject(List<?> list, Long total)
    {
        this.rows = list;
        this.total = total;
    }

}
